package com.wj.facedetect.db;

import java.io.Serializable;

/**
 * Created by P00028 on 2016/12/26.
 */
public class GroupInfo implements Serializable {
    /**
     * id
     */
    private int id;
    //groupId
    private String groupId;
    //经度
    private double longitude;
    //纬度
    private double latitude;
    //是否结束
    private int isOver;
    //last msg time
    private long time;
    //预留的字段
    //未读消息条数
    private int unReadCount;

    private String bak1;
    //last msg content
    private String bak2;
    //名字
    private String groupName;

    public String getGroupName() {
        return groupName;
    }

    public int getUnReadCount() {
        return unReadCount;
    }

    public void setUnReadCount(int unReadCount) {
        this.unReadCount = unReadCount;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public int getIsOver() {
        return isOver;
    }

    public void setIsOver(int isOver) {
        this.isOver = isOver;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public String getBak1() {
        return bak1;
    }

    public void setBak1(String bak1) {
        this.bak1 = bak1;
    }

    public String getBak2() {
        return bak2;
    }

    public void setBak2(String bak2) {
        this.bak2 = bak2;
    }

    @Override
    public String toString() {
        return "GroupInfo{" +
                "id='" + id + '\'' +
                ", groupId='" + groupId + '\'' +
                ", longitude=" + longitude +
                ", latitude=" + latitude +
                ", isOver=" + isOver +
                ", time='" + time + '\'' +
                ", bak1='" + bak1 + '\'' +
                ", bak2='" + bak2 + '\'' +
                '}';
    }
}
